<%@ page contentType="text/html; charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  	<head>
		<title>全国政协网络培训平台</title>
		<%@ include file="/common/meta.jsp" %>
	</head>
  
  <body>
  	<s:fielderror></s:fielderror>
  	<s:form action="testUser/save.do" namespace="/test">
  		<s:token></s:token><%--防止重复提交--%>
	    <table align="center" class="table-legend">
		  <tr>
		    <td>
			    <fieldset class="fieldset-font">
					<legend>新增用户</legend>
					<table cellspacing="0" class="table-input">
					   <tr>
					     <td class="table-input-label-mustInput">姓名：</td>
					     <td class="table-input-data"><s:textfield name="userName" value="%{model.userName}" cssClass="form-input-100"></s:textfield></td>
					     <!--  <input name="textfield22" type="text" class="form-input-100"> -->
					     <td class="table-input-label">登录名：</td>
					     <td class="table-input-data"><s:textfield name="loginName" value="%{model.loginName}" cssClass="form-input-100"></s:textfield></td>
					   </tr>
					   <tr> 
					     <td class="table-input-label-mustInput">密码：</td>
					     <td class="table-input-data"><s:password name="password" value="%{model.password}" cssClass="form-input-100"></s:password></td>
					     <td class="table-input-label-mustInput">重复密码：</td>
					     <td class="table-input-data"><input type="password" class="form-input-100"/> </td>
					   </tr>
					   <tr> 
					     <td class="table-input-label-mustInput">电话：</td>
					     <td class="table-input-data"><s:textfield name="email" value="%{model.email}" cssClass="form-input-100"></s:textfield></td>
					     <td class="table-input-label">电子邮箱：</td>
					     <td class="table-input-data"><s:textfield name="phone" value="%{model.phone}" cssClass="form-input-100"></s:textfield></td>
					   </tr>
					   <tr>
						   <td class="table-input-label">出生日期：</td>
						   <td class="table-input-data"><s:textfield name="birth" value="%{model.birth}" cssClass="form-input-100"></s:textfield></td>
						   <td class="table-input-label">所属地区：</td>
						   <td class="table-input-data"><s:select name="areaId" listValue="provinceName" listKey="id" list="list"></s:select></td>
					   </tr> 
					</table>
			     </fieldset>
		     </td>
		  </tr>
		</table>
			&nbsp;&nbsp;&nbsp;
		<table align="center" class="table-button-center">
		  <tr> 
		    <td> 
				<input type="submit" class="button-2-operaction" value="确 定" onMouseOut="buttonMouseOut(this)" onMouseOver="buttonMouseOver(this)">
				<input type="button" class="button-2-operaction" value="返 回" onClick="location='<s:url value="/test/testUser/list.do"/>'" onMouseOut="buttonMouseOut(this)" onMouseOver="buttonMouseOver(this)">
		    </td>
		  </tr>
		</table>

	</s:form>

  </body>
</html>
